v486.1 — Provider telematics contract-version build fix

Decision

This is a build-only correction package for v486. It fixes the reported TypeScript contract-version error in the Fleet Map provider-backed reconciliation layer.

What changed

• Fixed the reported TypeScript error in `src/modules/fleet-map/fleet-map.service.ts`.

• Replaced the raw environment-string provider contract value with a narrow typed contract-version reader.

• Only valid provider contract versions are accepted: `v484`, `v485`, and `v486`.

• Invalid or missing environment values safely fall back to `v486`.

• Preserved the v486 provider-backed reconciliation behavior and all provider/Google/billing/accounting guardrails.

• No Prisma schema change.

What remains locked

• Provider evidence cannot move marker coordinates.

• Provider evidence cannot turn markers green.

• Provider evidence cannot silently override driver-app GPS.

• Production GPS/ELD/telematics provider APIs remain disabled.

• Google Geocoding and Google Routes API calls remain disabled.

• Payment collection, broker distribution, owned portal rules, internal load-board access, and Transportation Accounting remain unchanged.

What's visible

In Workspace Operations / Fleet Map

No new user-facing workflow is added. The existing v486 provider-backed reconciliation review surface remains visible.

In Super Admin

No Super Admin behavior changed.

In Workspace Admin

No billing, subscription, plan, entitlement, integration, or settings behavior changed.

---

v486 — Provider-backed live marker reconciliation

v486 — Provider-backed live marker reconciliation

Decision

Proceed with provider-backed live marker reconciliation after v485 first GPS/ELD provider sandbox integration.

This build keeps provider evidence sandbox/review-only and adds a clearer reconciliation layer for driver-app GPS versus provider GPS/ELD/telematics evidence.

What changed

• Added provider-backed marker reconciliation status to every Fleet Map position.

• Added labels for driver-app primary, provider secondary review, provider conflict review, stale provider blocked, failed provider blocked, and no provider signal.

• Added trusted marker source, provider trust, conflict, supervisor review, green-marker authority, and customer-update-hold guidance.

• Added a provider-backed reconciliation dashboard panel.

• Added summary counts for provider-backed conflict review, driver-app primary, provider secondary review, and blocked provider evidence.

• Added provider reconciliation policy copy and search/filter coverage.

• Updated provider contract version guidance to v486.

• Updated environment example flags for provider-backed reconciliation.

• Kept production GPS/ELD/telematics APIs disabled.

• Kept Google Geocoding and Google Routes API calls disabled.

• No Prisma schema change.

What remains locked

• Provider evidence cannot move marker coordinates.

• Provider evidence cannot turn markers green.

• Provider evidence cannot silently override driver-app GPS.

• Production provider credentials and live provider polling remain disabled.

• Google server APIs remain disabled.

• Billing, broker distribution, owned portal, internal load-board, and Transportation Accounting behavior remain unchanged.

What’s visible

In Workspace Operations / Fleet Map

Users will see a new provider-backed reconciliation review layer that explains which source is trusted and whether provider evidence needs supervisor review.

In Super Admin

No Super Admin behavior changed.

In Workspace Admin

No billing, subscription, plan, entitlement, integration, or settings behavior changed.

v476 Fleet Map Controlled Blue/Non-Live Marker Refresh Execution and Rollback Addendum

v476 adds the first controlled execution layer on top of the v475 non-live refresh safety package.

The layer adds:

• DomainEvent-backed controlled execution, rollback, and dispute audit records;

• execution eligibility based on supervisor approval, source manual audit evidence, current dry-run evidence, rollback packet readiness, and explicit acknowledgements;

• blue/non-live coordinate overlay from the execution audit record;

• rollback overlay to restore the pre-execution non-live marker coordinates;

• disputed-refresh state for supervisor review;

• Execute refresh and Rollback/dispute filters, summary counts, selected-truck controls, audit trail visibility, hover/info-window labels, search coverage, and CORI guidance.

The v476 boundary remains strict: controlled execution can update only blue/non-live marker coordinates from approved dispatcher-confirmed evidence. It never turns a marker green. Green remains reserved for fresh live driver-app GPS. v476 does not connect GPS/ELD/telematics providers, does not call Google Geocoding/Routes/Places server APIs, and does not change billing, broker distribution, owned portal, internal load-board, or Transportation Accounting workflows.

v475 Fleet Map Complete Non-Live Refresh Safety Package Addendum

v475 adds a complete non-live marker refresh safety package layer on top of the v474 dry-run and rollback readiness foundation.

The layer adds:

• hardened conflict checks for approved blue/non-live refresh candidates;

• supervisor evidence review labels and checklist copy;

• approved refresh staging labels;

• rollback packet preparation;

• rollback packet export/copy readiness lines;

• execution readiness warnings;

• Fleet Map summary/filter/search support for rollback packets.

The v475 boundary remains strict: no marker coordinates move, no marker turns green, no real GPS/ELD/telematics provider is connected, no Google server API is called, and no billing/access/accounting workflow is changed.

Fleet Map + Live/Estimated Truck Positioning Architecture

Purpose

The Fleet Map is a CruiseMapper-style operating surface for Dispatch Spot. Instead of showing ships at sea, it shows the logged-in workspace's currently dispatched trucks on a map.

The first rule is simple:

• Green truck icon = live driver-application GPS position.

• Blue truck icon = estimated position calculated from route, distance, time, and average speed.

The map should help dispatchers and fleet users answer: where are my trucks, which trucks are live-tracked, which trucks are estimated, which trucks are close to pickup or delivery, and which truck needs attention first.

v462 active pivot

After v461, live billing enforcement is paused in product planning. Billing enforcement is not removed, but it is parked until the core operating product is stronger.

The active product focus now pivots to operational value: Fleet Map + live/estimated truck visibility.

v463 marker polish and position confidence rules

v463 keeps the Fleet Map as an operational page, not a provider setup page.

v463 adds a stronger position confidence layer so map markers are more useful and honest:

• Live GPS markers stay green.

• Estimated markers stay blue.

• The marker/card now shows a confidence score.

• Low-confidence or needs-check positions get a visible verify-position warning.

• Urgent timing issues can be highlighted without changing the basic green/live and blue/estimated rule.

• Every selected truck explains why the map position is trusted or why it should be checked.

The confidence rules are intentionally simple:

1. Live GPS is highest confidence when the last driver-app signal is fresh.

2. Live GPS becomes less reliable as the signal gets older.

3. Estimated positions are useful but must say they are calculated, not live.

4. Estimated positions need pickup/start time, planned miles, elapsed time, average speed, and delivery timing to be trusted.

5. If the estimate is weak, the dispatcher should verify the position before relying on it.

Default v463 thresholds:

• live signal is fresh for 10 minutes;

• live signal is stale after 30 minutes;

• estimated position minimum usable confidence score is 55.

These thresholds are stored in `.env.example` as planning flags. They do not connect a live GPS, ELD, telematics, or paid Google server API provider.

v464 route overlay and pickup/delivery proximity foundation

v464 adds the first route overlay and pickup/delivery proximity layer to the Fleet Map.

The goal is still simple: the dispatcher should not only see where the truck marker is, but also see how that marker relates to the assigned load lane.

v464 adds these concepts to each Fleet Map truck position:

• pickup point;

• current truck point;

• delivery point;

• selected-truck route line;

• route progress label;

• pickup distance readout;

• delivery distance readout;

• near-pickup, approaching-delivery, and near-delivery states;

• selected-truck route overlay summary;

• dispatcher-friendly next-stop guidance.

This remains a foundation layer. It uses normalized pickup/current/delivery points already available in the Fleet Map snapshot. It does not call Google Routes API yet, does not call Geocoding API yet, and does not connect any real GPS, ELD, or telematics provider.

The route line shown in v464 should be treated as a visual operating guide, not as final traffic-aware route geometry. A future build can replace this foundation line with Google Routes API geometry, traffic-aware ETA, provider-backed route deviation checks, and alternate-route comparisons.

Default v464 proximity thresholds:

• near pickup: 35 miles from pickup side;

• approaching delivery: 125 miles from delivery;

• near delivery: 35 miles from delivery.

These thresholds are stored in `.env.example` as planning/display flags. They do not activate provider calls.

v465 ETA risk and stopped-too-long signal foundation

v465 adds the first dispatch-intelligence layer on top of the Fleet Map route overlay.

The goal is simple: the map should not only show where the truck appears to be. It should also show whether the truck may be late and whether the truck may be stopped too long.

v465 adds these concepts to each Fleet Map truck position:

• ETA risk level;

• delivery target label;

• estimated arrival label;

• delivery-time buffer;

• ETA risk reason;

• dispatcher next step;

• stopped/movement status;

• stopped or unknown movement minutes;

• stopped-too-long threshold;

• stopped-time reason;

• stopped-time dispatcher next step.

The ETA risk foundation compares remaining miles, average speed, appointment time, confidence, and delivery buffer. It uses simple readable states first:

• on track;

• watch ETA;

• tight ETA;

• likely late / past target;

• needs review.

The stopped-too-long foundation uses display thresholds first:

• live GPS stopped-too-long threshold: 45 minutes by default;

• estimated/no-movement threshold: 90 minutes by default.

These values are stored in `.env.example` as planning/display flags:

• `DISPATCH_SPOT_FLEET_MAP_ETA_WATCH_BUFFER_HOURS`;

• `DISPATCH_SPOT_FLEET_MAP_ETA_TIGHT_BUFFER_HOURS`;

• `DISPATCH_SPOT_FLEET_MAP_LIVE_STOPPED_TOO_LONG_MINUTES`;

• `DISPATCH_SPOT_FLEET_MAP_ESTIMATED_STOPPED_TOO_LONG_MINUTES`.

This remains a foundation layer. It does not call Google Routes API for traffic-aware ETA yet, does not call Geocoding API, and does not connect any real GPS, ELD, or telematics provider. It gives the page the correct data contract and user-facing language first.

v466 route deviation and dispatcher action queue readiness

v466 adds the next Fleet Map operating layer: route deviation and dispatcher action queue readiness.

The goal is simple: the map should help the dispatcher see whether a truck may be off the expected lane and convert the map signals into an easy action list.

v466 adds these concepts to each Fleet Map truck position:

• route deviation status;

• estimated off-route miles;

• route-deviation watch and urgent thresholds;

• route-deviation reason;

• dispatcher next step;

• dispatcher action queue items;

• highest action priority;

• route-watch and action-queue filters;

• selected-truck route deviation panel;

• selected-truck dispatcher action queue readiness panel.

The route deviation foundation uses the existing route overlay and normalized truck position. It is not final traffic-aware route geometry yet. Future Google Routes API work can replace the foundation route corridor with provider-backed route geometry, traffic-aware route deviation, and alternate-route comparison.

Default v466 route deviation thresholds:

• route deviation watch: 12 miles from the expected route corridor;

• route deviation urgent: 25 miles from the expected route corridor.

These values are stored in `.env.example` as planning/display flags:

• `DISPATCH_SPOT_FLEET_MAP_ROUTE_DEVIATION_WATCH_MILES`;

• `DISPATCH_SPOT_FLEET_MAP_ROUTE_DEVIATION_URGENT_MILES`.

This remains a foundation layer. It does not call Google Routes API, does not call Geocoding API, does not connect live GPS, ELD, or telematics providers, and does not change billing/access behavior.

v467 CORI live tracking assistant recommendations

v467 adds the first CORI recommendation layer directly inside the Fleet Map.

The goal is simple: the map should not only show the truck location and risk signals. It should also tell the dispatcher which truck to review first and what to do next.

v467 adds these concepts to each Fleet Map truck position:

• CORI recommendation priority;

• CORI recommendation category;

• plain-language recommendation title;

• recommendation summary;

• recommended next step;

• suggested driver check-in message;

• supporting signals;

• sort score for review order.

The Fleet Map snapshot now also includes a CORI assistant summary with the top recommendation, review order, top recommendation cards, and a safety note reminding the dispatcher that blue estimated markers are not live GPS.

The user-facing page now shows a CORI live tracking assistant panel above the map. Clicking a CORI recommendation selects that truck on the map and in the truck detail panel. The selected-truck panel also shows the suggested driver check-in message.

This remains a foundation layer. CORI recommendations are created from the normalized Fleet Map snapshot: ETA risk, stopped-time signals, route deviation, confidence, and pickup/delivery proximity. This build does not connect real GPS, ELD, telematics, Google Routes API, Google Geocoding API, payment collection, broker distribution, owned portal rules, or internal load-board access.

v468 driver check-in workflow and manual position update readiness

v468 adds the first driver check-in workflow and manual dispatcher-confirmed position update readiness layer.

The goal is simple: when the map sees a truck that may need attention, the dispatcher should immediately know whether to call/text the driver, what to ask, and whether a dispatcher-confirmed manual position update would be appropriate.

v468 adds these concepts to each Fleet Map truck position:

• driver check-in status;

• check-in priority;

• check-in reason;

• recommended next step;

• suggested driver question;

• suggested check-in message;

• preferred channel;

• check-in triggers;

• required confirmation fields;

• manual position update readiness status;

• suggested manual location;

• manual update instruction;

• manual update guardrail note;

• future audit note.

Manual position update readiness does not persist a new location yet. It only prepares the interface and data contract for a later safe workflow. The rule remains clear: a dispatcher-confirmed manual update must not be shown as live GPS. Green markers remain reserved for live driver-app GPS. Blue/estimated or low-confidence markers can later be refreshed as dispatcher-confirmed positions with clear labels and audit history.

Default v468 thresholds:

• routine driver check-in target: 240 minutes;

• overdue check-in target: 360 minutes;

• manual position review target: 30 minutes.

These values are stored in `.env.example` as display/readiness flags:

• `DISPATCH_SPOT_FLEET_MAP_DRIVER_CHECK_IN_ROUTINE_MINUTES`;

• `DISPATCH_SPOT_FLEET_MAP_DRIVER_CHECK_IN_OVERDUE_MINUTES`;

• `DISPATCH_SPOT_FLEET_MAP_MANUAL_POSITION_REVIEW_MINUTES`.

This remains a foundation layer. It does not send driver messages, persist manual position updates, connect live GPS, connect ELD/telematics providers, call Google Routes API, call Google Geocoding API, or change billing/access behavior.

Page placement

Dedicated workspace route:

• `/fleet-map`

Sidebar label:

• Fleet Map

The Fleet Map belongs in Operations because it is a daily dispatch visibility tool.

Relationship to Routes

`/routes` is for planning a route before or during dispatch. It starts from load + truck + driver.

`/fleet-map` is for monitoring currently dispatched trucks. It starts from all active workspace trucks with assigned or in-transit loads.

These should stay separate. Route planning answers, “What is the best plan for this truck and load?” Fleet Map answers, “Where is my fleet right now, and who needs attention?”

Position source model

The Fleet Map should support multiple position sources over time:

1. Driver mobile app GPS.

2. Last known truck position.

3. Estimated route progress.

4. Manual dispatcher override if needed.

5. ELD / GPS / telematics provider data later.

v462, v463, v464, v465, v466, v467, and v468 do not connect a real GPS, ELD, or telematics provider. They create the interface, marker behavior, normalized confidence contract, route overlay foundation, pickup/delivery proximity readouts, ETA risk, stopped-too-long signals, route-deviation checks, dispatcher action queue readiness, CORI live tracking recommendations, driver check-in workflow, and manual position update readiness first.

Tracking confidence states

Each map row needs a tracking confidence state:

• LIVE: driver app GPS is actively reporting a current position.

• ESTIMATED: Dispatch Spot calculates the truck's likely position from route, distance, time, and average speed.

• STALE: the last position is old and should be checked.

• OFFLINE: no usable live or estimated position is available.

v462 primarily displayed LIVE and ESTIMATED because those are the first planned marker colors. v463 keeps those colors and adds a confidence score, calculation basis, and dispatcher priority label. v464 keeps the same marker color rule and adds the selected-truck route line plus pickup/delivery proximity readouts. v466 adds route-deviation status and dispatcher action queue readiness. v467 adds CORI live tracking recommendations. v468 adds driver check-in workflow and manual position update readiness while preserving the same green/live and blue/estimated marker rule.

Google Maps Platform direction

Dispatch Spot will use Google Maps Platform for the Fleet Map track.

Planned API split:

• Maps JavaScript API: browser map rendering, clickable truck markers, hover cards, map controls, and map display.

• Routes API: future route lines, route progress, drive time, ETA, alternate route, and route matrix support.

• Geocoding API: future conversion of pickup, delivery, last-known, and check-call text locations into coordinates.

• Places API: future city/state search, stop lookup, and location autocomplete.

The public browser key must be restricted to the Dispatch Spot domain. Server-side Google keys must stay server-side and must not be exposed to normal users.

v463 keeps Google-ready environment placeholders. v464 uses the browser map layer to display the selected-truck route overlay from normalized route points, but still does not activate paid server-side provider calls or live location ingestion.

UI behavior

The Fleet Map should show:

• left-side truck list and filters;

• search by truck, driver, load, and city/state;

• map on the right;

• green truck icons for LIVE;

• blue truck icons for ESTIMATED;

• clickable truck markers;

• hover truck information cards;

• selected-truck detail panel;

• selected-truck route overlay;

• pickup/delivery proximity readout;

• tracking confidence labels;

• confidence score and calculation reason;

• placeholder CORI map prompts;

• route-deviation readout;

• dispatcher action queue readiness;

• driver check-in workflow;

• manual dispatcher-confirmed position update readiness.

Hover card should show:

• truck number;

• driver name;

• current load;

• current status;

• current city or nearest point;

• live or estimated badge;

• speed when live;

• last update time;

• next stop;

• ETA;

• route deviation;

• dispatcher action count;

• confidence score;

• RPM / revenue context when available.

Click behavior should select the truck and expose deeper actions:

• open truck;

• open current load;

• ask CORI;

• view route.

v469 manual position update persistence contract and audit trail planning

v469 adds the first safe persistence contract for dispatcher-confirmed manual position updates.

The goal is simple: when a dispatcher calls or texts a driver and confirms the truck's current location, Dispatch Spot can record that confirmation as an audit event without pretending it is live GPS.

v469 adds these concepts:

• a POST contract at `/api/fleet-map/manual-position-updates`;

• a workspace-only manual position update audit event;

• required confirmation fields before recording;

• recent audit trail records on the Fleet Map page;

• selected-truck manual position audit form;

• clear marker-effect language so users understand that recording an audit does not make the marker green;

• payload preview and audit trail field lists in the Fleet Map data contract.

The audit record captures:

• workspace;

• truck;

• load;

• driver;

• dispatcher/user;

• previous tracking mode;

• previous confidence score;

• previous marker coordinates;

• confirmed location text;

• movement status;

• updated ETA;

• source channel;

• dispatcher note;

• recorded time.

v469 stores the record through the existing `DomainEvent` audit/event infrastructure. It does not add a Prisma schema change and does not introduce a new dedicated Fleet Map position table yet.

Important guardrail: this is audit persistence only. It does not move the marker, does not convert a blue estimated marker into a green live marker, does not connect a driver GPS feed, does not send driver messages, and does not call paid Google server APIs.

Future work can promote this audit contract into a dedicated Fleet Map manual-position-update table when the live provider ingestion and marker-refresh rules are ready.

Estimated position logic

The estimated blue marker should never pretend to be live GPS. It should be labeled clearly as estimated.

The starting estimated position model uses:

• assigned route;

• planned/load miles;

• pickup/start time;

• elapsed time;

• average speed;

• remaining distance;

• route progress percentage;

• delivery appointment timing.

Future improvements can add traffic, weather, dwell assumptions, driver check-ins, and route polylines.

Dispatch intelligence overlays

Future Fleet Map layers should add:

• late risk;

• stopped too long;

• stale signal;

• near pickup;

• near delivery;

• off-route risk;

• no next load;

• driver check-in needed;

• manual dispatcher-confirmed position update readiness;

• manual position update audit records;

• CORI recommendation on who to call first.

Guardrails

• Do not connect live GPS or ELD providers until the provider contract is reviewed.

• Do not expose raw provider credentials in workspace UI.

• Do not call estimated markers live.

• Do not label dispatcher-confirmed manual updates as live GPS.

• Only persist manual position update audit events at this stage; do not move the marker or relabel it as live GPS yet.

• Do not send driver messages until the communication workflow is approved.

• Do not add billing enforcement in this Fleet Map track.

• Do not change payment collection, broker distribution limits, owned portal rules, or internal load-board access.

• Keep Fleet Map user-facing language simple and operational.

v470 marker refresh review and dispatcher-confirmed position state model

v470 adds the review model that sits between a dispatcher-confirmed manual position audit record and any future visible marker refresh.

The goal is simple: if a dispatcher records a manual position confirmation, Dispatch Spot should know what state that confirmation is in before a later build is allowed to refresh the visible truck marker.

v470 adds these concepts to each Fleet Map truck position:

• dispatcher-confirmed position state;

• latest manual confirmation reference when one exists;

• latest confirmed location, movement status, ETA, recorded time, and dispatcher name;

• proposed marker label;

• marker refresh eligibility;

• marker refresh review requirement;

• marker color rule;

• dispatcher next step;

• guardrails that protect live GPS meaning.

The state model uses these readable states:

• No dispatcher confirmation;

• Ready for marker-refresh review;

• Confirmation recorded;

• Refresh-ready review;

• Refresh locked.

Important marker rule:

• Green remains live driver-app GPS only.

• A dispatcher-confirmed position is not live GPS.

• A future manual refresh should use a non-live/blue dispatcher-confirmed label, not green.

v470 does not move the marker yet. It does not connect live GPS, ELD, telematics, Google Routes API, or Google Geocoding API. It only gives the Fleet Map and CORI a safer state model to decide when a future non-live marker refresh is ready for review.

v471 dispatcher-confirmed marker refresh preview and non-live marker labeling

v471 adds a preview layer on top of the v470 dispatcher-confirmed position state model.

The goal is simple: when a dispatcher records a manual position confirmation, Dispatch Spot can show that confirmation as review evidence and label the marker as dispatcher-confirmed without pretending the position is live GPS.

v471 adds these concepts to each Fleet Map truck position:

• marker refresh preview status;

• blue/non-live preview label;

• preview badge text;

• source audit record reference;

• source confirmed location, movement status, ETA, recorded time, and dispatcher name;

• map marker note;

• preview color rule;

• dispatcher next step;

• guardrails for live GPS protection.

The visible rule remains:

• Green truck marker = live driver-app GPS only.

• Blue truck marker = estimated or dispatcher-confirmed non-live position.

• A small D badge may identify dispatcher-confirmed non-live preview evidence.

Important limitation: v471 does not move marker coordinates yet. The preview label uses the dispatcher-confirmed audit record for review, but it does not call Google Geocoding API, Google Routes API, ELD, telematics, or driver-app GPS providers.

A future approved build can decide when a dispatcher-confirmed record is allowed to refresh marker coordinates after Google/provider position handling is ready.

v472 marker refresh approval queue and supervisor review readiness

v472 adds a supervisor review layer on top of the v471 dispatcher-confirmed non-live marker preview.

The goal is simple: a dispatcher-confirmed manual position record should not jump directly from preview evidence to future marker movement. It should first enter a clear review queue so a supervisor or lead dispatcher can see whether the evidence is ready, whether the driver must be rechecked, or whether live GPS must stay protected.

v472 adds these concepts to each Fleet Map truck position:

• marker refresh approval queue status;

• supervisor review readiness label;

• review owner;

• supervisor role label;

• review reason;

• evidence summary;

• approval action label;

• safety decision label;

• driver recheck flag;

• future refresh eligibility flag;

• source audit record reference;

• checklist for review steps;

• guardrails that keep manual evidence non-live.

The approval queue uses these readable states:

• Not needed;

• Ready for supervisor review;

• Needs dispatcher review;

• Live GPS protected;

• Approved for future refresh;

• Locked.

The visible rule remains unchanged:

• Green truck marker = live driver-app GPS only.

• Blue truck marker = estimated or dispatcher-confirmed non-live evidence.

• Supervisor review readiness does not move marker coordinates.

• A dispatcher-confirmed record must remain review evidence until a later approved build adds safe refresh execution.

Important limitation: v472 does not approve or execute marker movement. It does not call Google Geocoding API, Google Routes API, ELD, telematics, or driver-app GPS providers. It does not change payment collection, broker distribution limits, owned portal rules, or internal load-board access.

A future approved build can add supervisor approval decision audit records and refresh execution locks before any live provider or coordinate movement work is connected.

v473 supervisor approval decision audit trail and refresh execution lock modeling

v473 adds the supervisor decision layer on top of the v472 marker refresh approval queue.

The goal is simple: a supervisor can record a decision about dispatcher-confirmed non-live marker evidence, but even an approval must not move a truck marker yet. Approval creates audit evidence and future eligibility only. Execution remains locked until a later explicit build adds the dry-run, rollback, conflict checks, and persistence rules.

v473 adds these concepts to each Fleet Map truck position:

• marker refresh approval decision status;

• latest supervisor decision reference;

• supervisor decision outcome;

• reviewer name and reviewed time;

• source manual audit record reference;

• supervisor note;

• allowed decision options;

• decision next step;

• refresh execution lock status;

• lock reason;

• unlock requirement;

• execution switch state;

• decision and lock guardrails.

The supervisor decision options are:

• approve future blue/non-live refresh;

• request driver recheck;

• reject refresh;

• protect live GPS.

The execution lock model uses these readable states:

• pending supervisor decision;

• refresh execution locked;

• driver recheck required;

• live GPS protected;

• refresh rejected;

• not eligible.

The visible rule remains unchanged:

• Green truck marker = live driver-app GPS only.

• Blue truck marker = estimated or dispatcher-confirmed non-live evidence.

• A supervisor decision is an audit record, not marker movement.

• An approved decision means future blue/non-live eligibility only.

• Marker refresh execution remains locked in v473.

Important limitation: v473 does not move marker coordinates, does not execute marker refreshes, does not call Google Geocoding API, Google Routes API, ELD, telematics, or driver-app GPS providers, and does not change payment collection, broker distribution limits, owned portal rules, or internal load-board access.

A future approved build can add non-live marker refresh execution dry-run and rollback readiness before any live provider or coordinate persistence work is connected.

v474 non-live marker refresh execution dry-run and rollback readiness

v474 adds a dry-run and rollback-readiness layer on top of the v473 supervisor decision and refresh execution lock model.

The goal is simple: after a supervisor approves a dispatcher-confirmed blue/non-live marker refresh for future use, Dispatch Spot can model the execution path and preserve rollback evidence without moving any marker coordinates.

v474 adds these concepts to each Fleet Map truck position:

• marker refresh execution dry-run status;

• dry-run readiness label;

• source supervisor decision reference;

• source manual audit record reference;

• current marker label;

• proposed blue/non-live marker label;

• source location label;

• dry-run result label;

• rollback plan label;

• rollback readiness flag;

• coordinate mutation allowed flag, which remains false;

• required acknowledgements;

• conflict checks;

• dry-run guardrails;

• dry-run next step.

The dry-run model uses these readable states:

• no dry-run path;

• dry-run ready;

• dry-run recorded;

• dry-run blocked;

• live GPS protected.

The visible rule remains unchanged:

• Green truck marker = live driver-app GPS only.

• Blue truck marker = estimated or dispatcher-confirmed non-live evidence.

• Supervisor approval is still not marker movement.

• Dry-run records are audit evidence only.

• Rollback readiness preserves the current marker before any later execution build.

• Marker coordinate mutation remains disabled in v474.

Important limitation: v474 does not move marker coordinates, does not execute marker refreshes, does not call Google Geocoding API, Google Routes API, ELD, telematics, or driver-app GPS providers, and does not change payment collection, broker distribution limits, owned portal rules, or internal load-board access.

A future approved build can harden conflict checks, export a rollback packet, or later add an explicit non-live marker refresh execution path. That future execution path must still keep dispatcher-confirmed/manual records blue/non-live and must not turn them green.

v477 non-live marker lifecycle dashboard and stale-position cleanup

v477 adds a lifecycle dashboard and stale-position cleanup layer for the Fleet Map. It sits after the controlled blue/non-live marker execution and rollback system and gives dispatchers/supervisors a clean way to see which non-live markers are pending review, staged, executed, rolled back, disputed, stale, do-not-trust, driver-check-in ready, or route-recalculation ready.

Each Fleet Map position now includes a marker refresh lifecycle readout with:

• lifecycle status and label;

• lifecycle phase;

• dashboard group;

• marker age bucket;

• trust label;

• stale cleanup status and reason;

• do-not-trust flag;

• driver check-in requirement;

• route recalculation readiness;

• confidence trend;

• lifecycle timeline;

• cleanup checklist;

• guardrails;

• next step.

The stale non-live cleanup model uses threshold configuration for watch, cleanup-needed, and do-not-trust states. The purpose is to keep old estimated/dispatcher-confirmed blue markers from looking more reliable than they are.

The visible rule remains unchanged:

• Green truck marker = live driver-app GPS only.

• Blue truck marker = estimated or dispatcher-confirmed non-live evidence.

• Lifecycle cleanup labels do not move marker coordinates.

• Do-not-trust labels require driver recheck or supervisor review before operational reliance.

• Route recalculation readiness is a review signal only until an approved routing/provider build is connected.

Important limitation: v477 does not connect GPS/ELD/telematics providers, does not call Google Geocoding API or Google Routes API, does not turn any marker green, does not change payment collection, broker distribution limits, owned portal rules, or internal load-board access, and does not activate Transportation Accounting.

A future approved build can add the driver-app GPS intake contract, consent/privacy readiness, live marker eligibility, and live freshness rules before activating live GPS.

v478 driver-app GPS intake contract, consent, and live eligibility

v478 adds the Fleet Map driver-app GPS intake contract and live-marker eligibility layer before activating real driver-app GPS. The purpose is to make the future live map safer by requiring payload-contract readiness, consent/privacy acknowledgement, freshness rules, and live-marker boundary rules before a truck can become eligible for future green-marker tracking.

Each Fleet Map position now includes driver-app GPS intake readiness with:

• intake status and label;

• consent status and label;

• live eligibility status and label;

• required payload fields;

• signal freshness rule;

• consent/privacy requirements;

• green-marker rule;

• blocked reason;

• readiness checklist;

• guardrails;

• next step.

The visible rule remains unchanged:

• Green truck marker = fresh live driver-app GPS only.

• Blue truck marker = estimated, dispatcher-confirmed, or controlled non-live evidence.

• Driver-app GPS readiness records do not ingest coordinates.

• Driver-app GPS readiness records do not move markers.

• Driver-app GPS readiness records do not turn any marker green.

The new POST API route is /api/fleet-map/driver-app-gps-readiness. It records readiness evidence only through DomainEvent-backed records and is guarded by acknowledgement requirements. Real intake remains disabled by DISPATCH_SPOT_FLEET_MAP_DRIVER_APP_GPS_REAL_INTAKE_ENABLED="false".

Important limitation: v478 does not connect GPS/ELD/telematics providers, does not activate real driver-app GPS coordinate intake, does not call Google Geocoding API or Google Routes API, does not change payment collection, broker distribution limits, owned portal rules, or internal load-board access, and does not activate Transportation Accounting.

A future approved build can add controlled driver-app live GPS activation once consent, freshness, audit, and eligibility behavior is hardened.

v478.1 build fix note

v478.1 is a build-only correction for the v478 driver-app GPS readiness layer. The Fleet Map client now imports `FleetDriverAppGpsReadinessAuditRecord` for the driver-app GPS readiness audit trail panel. No map behavior or architecture rule changed.

v479 controlled driver-app live GPS activation

v479 activates a controlled driver-app live GPS session path on top of the v478 intake, consent, and eligibility layer. The new live session path accepts coordinates only through `/api/fleet-map/driver-app-live-gps-sessions` and records every action as DomainEvent-backed audit evidence.

The controlled session actions are:

• start live session;

• record live position;

• stop live session;

• mark live GPS stale.

The visible map rule is now active:

• Green truck marker = fresh driver-app GPS coordinate from the controlled v479 driver-app live GPS session endpoint.

• Stale driver-app GPS loses live trust and falls back to stale/non-live review guidance.

• Stopped driver-app GPS session removes the live-trust posture until a fresh session starts.

• Manual, dispatcher-confirmed, estimated, ELD/provider, and blue/non-live refresh records cannot turn a marker green.

v479 adds a live GPS dashboard, selected-truck live GPS readout, live session recorder, audit trail, filters, summary counts, hover/info labels, and CORI guidance.

Important limitation: v479 does not connect GPS/ELD/telematics providers, does not call Google Geocoding API or Google Routes API, does not change payment collection, broker distribution limits, owned portal rules, or internal load-board access, and does not activate Transportation Accounting.

v480 provider-neutral GPS/ELD/telematics foundation and sandbox connector

v480 adds a provider-neutral GPS/ELD/telematics sandbox review layer to the Fleet Map after controlled driver-app live GPS activation. The purpose is to prepare for future provider-backed tracking without allowing provider data to silently override the trusted driver-app GPS path.

Each Fleet Map position now includes provider telematics review data with:

• provider sandbox status and label;

• provider/vendor name;

• external provider vehicle ID;

• latest sandbox signal action;

• provider signal freshness;

• optional sandbox provider coordinates;

• driver-app GPS source-priority rule;

• conflict distance from fresh driver-app GPS when both are present;

• provider health label;

• guardrails;

• next step.

The new provider sandbox actions are:

• register sandbox mapping;

• record sandbox signal;

• mark provider stale;

• mark provider failed.

The visible map rule remains unchanged:

• Green truck marker = fresh driver-app GPS only.

• Blue/non-live marker = estimated, dispatcher-confirmed, or controlled non-live evidence.

• Provider sandbox records are review evidence only.

• Provider sandbox records do not move marker coordinates.

• Provider sandbox records do not turn any marker green.

• Provider sandbox records do not override driver-app GPS.

The new POST API route is `/api/fleet-map/provider-telematics-sandbox-signals`. It records sandbox provider evidence through DomainEvent-backed audit records and requires supervisor acknowledgements that the provider sandbox is review-only, does not call live provider APIs, and does not move or override markers.

Important limitation: v480 does not connect production GPS/ELD/telematics provider APIs, does not call Google Geocoding API or Google Routes API, does not change payment collection, broker distribution limits, owned portal rules, or internal load-board access, and does not activate Transportation Accounting.

A future approved build can add live-source reconciliation and route intelligence once provider sandbox mapping, stale/failure states, and conflict behavior are verified.

v480.1 provider sandbox route-overlay point type build fix

v480.1 is a build-only correction for the v480 provider-neutral GPS/ELD/telematics sandbox layer. It adds explicit `FleetRoutePoint` typing to route-overlay path map callbacks in `src/modules/fleet-map/fleet-map.service.ts` so production TypeScript validity checking does not treat route path callback parameters as implicit `any`.

No Fleet Map product behavior changed. Provider sandbox records remain review evidence only, fresh driver-app GPS remains the only green-marker source, production GPS/ELD/telematics provider APIs and Google Geocoding/Routes APIs remain inactive, and Transportation Accounting remains planned future architecture only.

v481 live-source reconciliation and route-intelligence readiness

v481 adds a source-trust layer between driver-app GPS, provider sandbox/ELD-style evidence, and blue/non-live fallback markers.

The Fleet Map source hierarchy remains:

1. Fresh driver-app GPS controls the green marker.

2. Provider sandbox/ELD-style evidence is review-only unless a later production-provider build explicitly changes trust rules.

3. Blue/non-live markers remain internal estimates, dispatcher-confirmed/manual evidence, or controlled non-live refreshes.

When provider sandbox evidence disagrees with fresh driver-app GPS, the map shows live-source conflict review. Route intelligence must treat that conflict as a blocker and must not trust provider data for ETA, deviation, or route review until the conflict is handled.

v481 also adds route-intelligence readiness labels:

• route cache key preparation;

• Google Routes readiness without server API calls;

• Google Geocoding readiness without server API calls;

• traffic-aware ETA readiness copy;

• route recalculation review;

• source-conflict blocking.

Important limitation: v481 does not activate production GPS/ELD/telematics provider APIs, does not call Google Geocoding API, does not call Google Routes API, does not change billing/payment or access rules, and does not activate Transportation Accounting.

v483 controlled driver-app live GPS activation

v483 activates the controlled driver-app live GPS session path. A marker may turn green only from fresh eligible driver-app GPS session coordinates recorded through the audited live GPS session endpoint. Stale, stopped, manually stale, manual, estimated, dispatcher-confirmed, provider sandbox, and readiness-only records remain non-green. GPS/ELD/telematics provider APIs and Google Geocoding/Routes API calls remain disabled until later roadmap phases.

v484 Provider-neutral ELD/telematics connector contract

After controlled driver-app live GPS activation, provider-backed GPS/ELD/telematics must pass through a neutral connector contract before any provider can influence Fleet Map trust. The contract requires Dispatch Spot truck ID, truck number, active load ID, assigned driver ID, provider family, external vehicle/device ID, signal timestamp/freshness, and provider health state.

Provider signals remain sandbox/review evidence in v484. They may be compared to driver-app GPS, marked stale, marked failed, or marked conflicted, but they cannot move marker coordinates, turn markers green, override fresh driver-app GPS, or call production provider APIs. Live provider polling, production credentials, Google Geocoding, and Google Routes remain separate later activation decisions.

v485 First GPS/ELD provider sandbox integration

v485 adds the first provider sandbox/test integration path after the v484 neutral connector contract. The system can now record a provider-like sandbox pull through the guarded provider telematics endpoint using the `PULL_SANDBOX_PROVIDER_SIGNAL` action. This is sandbox evidence only. It is designed to validate truck/load/driver/provider mapping, external vehicle/device ID, provider coordinate payload shape, freshness, health, and comparison against driver-app GPS before any production provider is connected.

Provider sandbox pulls do not call production Samsara, Motive, Geotab, or other ELD/telematics APIs. They do not call Google Geocoding or Google Routes. They do not move marker coordinates, turn markers green, or override fresh driver-app GPS.

The v485 UI adds sandbox integration status, pull-ready/pull-recorded/pull-review counts, selected-truck pull results, payload contract, checklist, and guardrails so supervisors can review the first provider-backed evidence path before the later provider-backed reconciliation build.

v487 Google geocoding and route geometry readiness

v487 adds the route-intelligence preparation layer required before any future Google Geocoding or Google Routes activation.

The Fleet Map now prepares:

• normalized pickup and delivery labels for future geocoding review;

• pickup and delivery geocode readiness labels;

• a route geometry readiness label;

• a route geometry cache key;

• a route geometry cache TTL target;

• a Google API call guardrail label;

• a placeholder daily Google route/geocode call budget label.

These fields are readiness-only. v487 does not make Google Geocoding API calls, Google Routes API calls, production GPS/ELD/telematics provider calls, or billing changes. Source conflicts still block trusted route intelligence until supervisor review. Provider evidence remains review-only. Fresh eligible driver-app GPS remains the only green-marker authority.

v488 Traffic-aware ETA and route-deviation upgrade

v488 extends route intelligence after the v487 Google geocoding and route geometry readiness layer. It adds an internal traffic-aware ETA model, traffic delay risk, traffic-adjusted ETA labels, route-deviation accuracy/confidence labels, and alternate-route comparison readiness.

This build is still guarded. It does not call Google Geocoding API, Google Routes API, production GPS/ELD/telematics provider APIs, or any billing/access/accounting workflow. Traffic-aware ETA is modeled from Dispatch Spot route, ETA, deviation, and source-trust signals only. Future Google Routes activation must remain cache-first, budget-guarded, and separately approved.